package com.xxxx.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xxxx.server.pojo.AdminRole;
import com.xxxx.server.pojo.Role;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zhoubin
 */
public interface AdminRoleMapper extends BaseMapper<AdminRole> {






	List<Role> selectAdminRoleById(Integer id);

	int deleteAllrolesByAdminId(Integer adminId);

	int AddRoleByAdminId(Integer id, Integer rid);

	List<Role> deleteAdminRoleById(Integer id);



}
